summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/routes/archives/[id]/+page.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--frontend/src/routes/archives/[id]/+page.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/routes/archives/[id]/+page.ts b/frontend/src/routes/archives/[id]/+page.ts
new file mode 100644
index 0000000..d872ba2
--- /dev/null
+++ b/frontend/src/routes/archives/[id]/+page.ts
@@ -0,0 +1,5 @@
+export function load({ params }: { params: Record<string, string> }) {
+ return {
+ id: +params.id
+ };
+}